﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GameHubService;

/// <summary>
/// 游戏实体类
/// </summary>
[SugarTable("base_games", "游戏实体类")]
public class GameEntity
{
    /// <summary>
    /// 主键
    /// </summary>
    [SugarColumn(IsPrimaryKey =true,Length = 32)]
    public string Id { get; set; }
    /// <summary>
    /// 游戏名称
    /// </summary>
    [SugarColumn(IsNullable = true, Length = 255)]
    public string Name { get; set; }
    /// <summary>
    /// 代码标识
    /// </summary>
    [SugarColumn(IsNullable = true, Length = 32)]
    public string Code { get; set; }
    /// <summary>
    /// 状态 100 已下载 200 未下载 300 异常
    /// </summary>
    [SugarColumn(IsNullable = true )]
    public int Status { get; set; }

}
